<?xml version="1.0" encoding="UTF-8" ?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml"
      xmlns:ui="http://java.sun.com/jsf/facelets"
      xmlns:h="http://java.sun.com/jsf/html"
      xmlns:f="http://java.sun.com/jsf/core"
      xmlns:p="http://primefaces.org/ui">

    <ui:composition template="/menuAplicacionEmpleado.xhtml">
        <ui:define name="title">
            <h:outputText value="#{bundle.EditTblcajacompensacionTitle}"></h:outputText>
        </ui:define>
        <ui:define name="body">
            
            <h:form>
                <p:panel id="panel" header="#{bundle.EditTblcajacompensacionTitle}">  
                <p:messages id="msgs"/> 
                <h:panelGrid columns="2">
                    <h:outputLabel value="#{bundle.EditTblcajacompensacionLabel_codCajacom}" for="codCajacom" />
                    <h:outputLabel id="codCajacom" value="#{tblcajacompensacionController.selected.codCajacom}" title="#{bundle.EditTblcajacompensacionTitle_codCajacom}" />
                    <h:outputLabel value="#{bundle.EditTblcajacompensacionLabel_nomCajacom}" for="nomCajacom" />
                    <p:inputText id="nomCajacom" value="#{tblcajacompensacionController.selected.nomCajacom}" title="#{bundle.EditTblcajacompensacionTitle_nomCajacom}" required="true" requiredMessage="#{bundle.EditTblcajacompensacionRequiredMessage_nomCajacom}"/>
                    <h:outputLabel value="#{bundle.EditTblcajacompensacionLabel_nitCajacom}" for="nitCajacom" />
                    <p:inputText id="nitCajacom" value="#{tblcajacompensacionController.selected.nitCajacom}" title="#{bundle.EditTblcajacompensacionTitle_nitCajacom}" required="true" requiredMessage="#{bundle.EditTblcajacompensacionRequiredMessage_nitCajacom}"/>
                   
                  
                </h:panelGrid>
                <p:commandButton action="#{tblcajacompensacionController.update}" update="panel" value="#{bundle.EditTblcajacompensacionSaveLink}"/>
                
                <p:commandButton action="#{tblcajacompensacionController.prepareList}" value="#{bundle.EditTblcajacompensacionShowAllLink}" immediate="true"/>
                
                </p:panel>
            </h:form>
        </ui:define>
    </ui:composition>

</html>
